package cn.mldn.homework.reflection;

public class StringUtil
{
	public static String firstCharToUpper(String str)
	{
		char ch[] = str.toCharArray();
		char ch1 = Character.toUpperCase(ch[0]);
		ch[0] = ch1;
		String s = new String(ch);
		return s;
	}

	public static String firstCharToLower(String str)
	{
		char ch[] = str.toCharArray();
		char ch1 = Character.toLowerCase(ch[0]);
		ch[0] = ch1;
		String s = new String(ch);
		return s;
	}
}
